package com.emser.unc.client.event;

import com.google.gwt.event.shared.GwtEvent;

public class SaleReportEventDetail extends GwtEvent<SaleReportDetailEventHandler>{
	private String userNSeller;
	private Long customerID;
	private Long idReport;
	
	public SaleReportEventDetail(String userNSeller,Long customerID, Long idReport){
		this.userNSeller = userNSeller;
		this.customerID = customerID;
		this.idReport = idReport;
	}
	public static Type<SaleReportDetailEventHandler> TYPE = new Type<SaleReportDetailEventHandler>();

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<SaleReportDetailEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(SaleReportDetailEventHandler handler) {
	    handler.onChange(this);
	}

	public void setUserNSeller(String userNSeller) {
		this.userNSeller = userNSeller;
	}

	public String getUserNSeller() {
		return userNSeller;
	}

	public void setCustomerID(Long customerID) {
		this.customerID = customerID;
	}

	public Long getCustomerID() {
		return customerID;
	}

	public void setIdReport(Long idReport) {
		this.idReport = idReport;
	}

	public Long getIdReport() {
		return idReport;
	}
}
